package com.ruoyi.siyun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程视频管理对象 sy_course_video
 * 
 * @author CX330
 * @date 2024-12-25
 */
public class SyCourseVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频id */
    private Long videoId;

    /** 视频资源路径 */
    @Excel(name = "视频资源路径")
    private String videoUrl;

    /** 视频封面资源路径 */
    @Excel(name = "视频封面资源路径")
    private String videoImageurl;

    /** 视频所属课程id */
    @Excel(name = "视频所属课程id")
    private Long videoCourseid;

    /** 视频排序id */
    @Excel(name = "视频排序id")
    private Long videoSort;

    /** 视频简介 */
    @Excel(name = "视频简介")
    private String videoTitle;

    /** 视频上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "视频上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date videoUploadtime;

    /** 视频上传用户id */
    @Excel(name = "视频上传用户id")
    private Long videoUploaduser;

    private Integer deleteid;

    private String videoText;

    public String getVideoText() {
        return videoText;
    }

    public void setVideoText(String videoText) {
        this.videoText = videoText;
    }

    public Integer getDeleteid() {
        return deleteid;
    }

    public void setDeleteid(Integer deleteid) {
        this.deleteid = deleteid;
    }

    public void setVideoId(Long videoId)
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoImageurl(String videoImageurl) 
    {
        this.videoImageurl = videoImageurl;
    }

    public String getVideoImageurl() 
    {
        return videoImageurl;
    }
    public void setVideoCourseid(Long videoCourseid) 
    {
        this.videoCourseid = videoCourseid;
    }

    public Long getVideoCourseid() 
    {
        return videoCourseid;
    }
    public void setVideoSort(Long videoSort) 
    {
        this.videoSort = videoSort;
    }

    public Long getVideoSort() 
    {
        return videoSort;
    }
    public void setVideoTitle(String videoTitle) 
    {
        this.videoTitle = videoTitle;
    }

    public String getVideoTitle() 
    {
        return videoTitle;
    }
    public void setVideoUploadtime(Date videoUploadtime) 
    {
        this.videoUploadtime = videoUploadtime;
    }

    public Date getVideoUploadtime() 
    {
        return videoUploadtime;
    }
    public void setVideoUploaduser(Long videoUploaduser) 
    {
        this.videoUploaduser = videoUploaduser;
    }

    public Long getVideoUploaduser() 
    {
        return videoUploaduser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("videoUrl", getVideoUrl())
            .append("videoImageurl", getVideoImageurl())
            .append("videoCourseid", getVideoCourseid())
            .append("videoSort", getVideoSort())
            .append("videoTitle", getVideoTitle())
            .append("videoUploadtime", getVideoUploadtime())
            .append("videoUploaduser", getVideoUploaduser())
                .append("deleteid", getDeleteid())
                .append("videoText",getVideoText())
            .toString();
    }
}
